package com.jiangjiang.eshop.auth.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @Author Jianghaowen
 * @Date 2021/6/18
 * @Description: TODO
 * @Version V1.0
 **/
@Data
@TableName("auth_account_role_relationship")
public class AccountRoleRelationshipEntity {
    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 账户id
     */
    @TableField("account_id")
    private Long accountId;
    /**
     * 角色id
     */
    @TableField("role_id")
    private Long roleId;
    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
